
  .Basis-Table-Header-Cell
  {
    padding: 0 !important; /* IMPORTANT: cell must has no padding */
    margin: 0;
    border: none;
    border-bottom: 1px solid white;
    font-weight: normal;
    vertical-align: top;
    text-align: left;
    background-repeat: repeat-x;
    background-image: url(res/bg.gif);
    background-color: #F1F2F4;
    white-space: nowrap;
    -moz-user-select: none;
    cursor: default;
  }
  .Basis-Table-Header-Cell-Content
  {
    height: 100%;
    margin: 0;
    margin-top: -8px;
    padding-left: 1px;
    border-top: 1px solid #D5D5D5;
    border-bottom: 1px solid #D5D5D5;
    border-right: 1px solid #D5D5D5;
    background: url(res/hline_left.gif) no-repeat left top;
  }
  .Basis-Table-Header-GroupContent .Basis-Table-Header-Cell-Content
  {
    margin-bottom: -2px;
    text-align: center;
  }
  .Basis-Table-Header-Cell-Title
  {
    display: block;
    padding: 3px .5em 3px .4em;
    background: url(res/hline_right.gif) no-repeat right top;
    margin-right: -1px;
  }
  .Basis-Table-Header-Cell-SortDirection
  {
    height: 8px;
    width: 8px;
    margin: 0 auto;
  }


  /*
   * :hover
   */
  .Basis-Table-Header-Cell-sortable:hover
  {
    cursor: pointer;
    background-color: #B7E7FB;
    background-image: url(res/hover_bg.gif);
  }
  .Basis-Table-Header-Cell-sortable:hover .Basis-Table-Header-Cell-Content
  {
    background-image: url(res/hover_hline.gif);
    border-color: #93C9E3;
    border-left: none;
    padding-left: 1px;
  }
  .Basis-Table-Header-Cell-sortable:hover .Basis-Table-Header-Cell-Title
  {
    background-image: url(res/hover_hline.gif);
  }


  /*
   * selected
   */
  .Basis-Table-Header .selected
  {
    background-color: #D8ECF6;
    background-image: url(res/selected_bg.gif);
  }
  .Basis-Table-Header .selected .Basis-Table-Header-Cell-Content
  {
    background-image: none;
    border-color: #96D9F9;
    border-left: 1px solid #96D9F9;
    padding-left: 0;
  }
  .Basis-Table-Header .selected .Basis-Table-Header-Cell-Title
  {
    background-image: none;
  }
  .Basis-Table-Header .selected .Basis-Table-Header-Cell-SortDirection
  {
    background: url(res/order_asc.gif) no-repeat center center;
  }
  .Basis-Table-Header .sort-order-desc .selected .Basis-Table-Header-Cell-SortDirection
  {
    background-image: url(res/order_desc.gif);
  }
